package com.property.manage.model.parking;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("停车位管理")
@TableName("t_parking")
public class ParkingEntity {
    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("类型 1空置 2出租 3已售")
    private Integer type;
    @ApiModelProperty("车位编号")
    private String number;
    @ApiModelProperty("联系电话")
    private String phone;
    @ApiModelProperty("小区id")
    private Integer villageId;
    @ApiModelProperty("车牌")
    private String licensePlate;
    @ApiModelProperty("联系人")
    private String userName;
    @ApiModelProperty("费用")
    private BigDecimal money;

}
